a=10
b = int(input("输入b:"))

try:
    c=a/b
    print("结果：",c)
except ZeroDivisionError as e: #错误类型
    print(e)
    print("除数不能为零")
print("-"*50)
    